package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;
/**
 *
 * @author gartner
 */
public interface IFDBSale 
{
    public ArrayList<Sale> getAllSales(boolean retriveAssociation);
    
    public Sale searchSaleID(int saleID, boolean retriveAssociation);
    
    public Sale findSale(int saleID, boolean retriveAssociation);
    
    public Sale findLatestSale(boolean retriveAssociation);
    
    public void insertSale(Sale sale);
    
    public int MaxID();
    
    public ArrayList<Sale> Sales(int saleID);
}
